#ifndef LIMA_LOCALCAPTURE_HPP
#define LIMA_LOCALCAPTURE_HPP

#include "export.hpp"

typedef void (*OnCaptureAudioFrame)(const char *audioData,  uint32_t sampleRate, uint32_t bytesPerSample, uint32_t channels, uint32_t frameSize);
typedef void (*OnCaptureVideoFrame)(uint32_t width, uint32_t height, const char *y, uint32_t strideY, const char *u, uint32_t strideU, const char *v, uint32_t strideV, uint64_t timestamp);

LIMA_EXPORT bool InitVideoCapturer(OnCaptureVideoFrame callback);
LIMA_EXPORT void InitAudioCapturer(OnCaptureAudioFrame callback);

#endif
